Evaluating this huge .... thing? [closed]
        Posted  
        
            by 
                Shark
            
        on Programmers
        
        See other posts from Programmers
        
            or by Shark
        
        
        
        Published on 2012-11-09T13:42:47Z
        Indexed on 
            2012/11/09
            17:20 UTC
        
        
        Read the original article
        Hit count: 169
        
c
I'll just leave this here:
superTiled = ((((gctUINT32) (hardware->chipMinorFeatures)) >> (0 ? 12:12) & ((gctUINT32) ((((1 ? 12:12) - (0 ? 12:12) + 1) == 32) ? ~0 : (~(~0 << ((1 ? 12:12) - (0 ? 12:12) + 1)))))) == (0x1 & ((gctUINT32) ((((1 ? 12:12) - (0 ? 12:12) + 1) == 32) ? ~0 : (~(~0 << ((1 ? 12:12) - (0 ? 12:12) + 1)))))));
If you can break it down into 'steps' or a single numeric value - props to you :) I see that this is generated/ unwrapped macros code but .... can't really wrap around it atm.
The first person that breaks this down / simplifies it a bit gets to know which driver i found it in. Cheers :)
© Programmers or respective owner